﻿CREATE PROCEDURE Insert_ForeignKeyTable
	@CompositeKey1 nvarchar(100),
	@CompositeKey2 nvarchar(100),
	@CompositeKey3 nvarchar(100),
	@PrimaryKeyId nvarchar(100),
	@TableId int,
	@GuidField uniqueidentifier,
	@Field1 int,
	@Field2 int
AS
INSERT INTO [ForeignKeyTable] (
	[CompositeKey1],
	[CompositeKey2],
	[CompositeKey3],
	[PrimaryKeyId],
	[TableId],
	[GuidField],
	[Field1],
	[Field2]
)
VALUES
(
	@CompositeKey1,
	@CompositeKey2,
	@CompositeKey3,
	@PrimaryKeyId,
	@TableId,
	@GuidField,
	@Field1,
	@Field2
)


